// Fill out your copyright notice in the Description page of Project Settings.


#include "Engine/AuraAssetManager.h"

#include "AbilitySystemGlobals.h"
#include "Game/AuraGameplayTags.h"

void UAuraAssetManager::StartInitialLoading()
{
	Super::StartInitialLoading();

	FAuraGameplayTags::InitNativeGameplayTags();

	// 如果使用TargetData，必须开启此项
	UAbilitySystemGlobals::Get().InitGlobalData();
}

UAuraAssetManager& UAuraAssetManager::Get()
{
	check(GEngine);
	
 	UAuraAssetManager* AuraAssetManager = Cast<UAuraAssetManager>(GEngine->AssetManager);
 	return *AuraAssetManager;
}


